package cn.iocoder.an.module.business.dal.mysql.equipmentcheckconfig;

import java.util.*;

import cn.iocoder.an.framework.common.pojo.PageResult;
import cn.iocoder.an.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.an.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.an.module.business.dal.dataobject.equipmentcheckconfig.EquipmentCheckConfigDO;
import org.apache.ibatis.annotations.Mapper;
import cn.iocoder.an.module.business.controller.admin.equipmentcheckconfig.vo.*;
import org.springframework.stereotype.Repository;

/**
 * 设备点检配置 Mapper
 *
 * @author zzy
 */
@Mapper
public interface EquipmentCheckConfigMapper extends BaseMapperX<EquipmentCheckConfigDO> {

    default PageResult<EquipmentCheckConfigDO> selectPage(EquipmentCheckConfigPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<EquipmentCheckConfigDO>()
                .orderByDesc(EquipmentCheckConfigDO::getId));
    }

}